package com.wyz.saas.api.map

import android.util.SparseArray
import com.wyz.saas.api.map.shape.MapOverlay

interface MapOverlayProducer : MapOverlayContext {

    fun setProducerListener(listener: ProducerListener?)

    interface ProducerListener {

        fun notifice(key: Any, mapOverlay: SparseArray<MapOverlay>)

        fun setEnabled(enabled : Boolean)
    }
}